#!/bin/bash
if [ $# != 1 ] ; then 
    echo "用于查看进程的启动运行时间的工具 USAGE: $0 进程名" 
    echo " e.g.: $0 UltraStreamTransServer" 
exit 1; 
fi 
ps -A -opid,stime,etime,args|head -n 1;ps -A -opid,stime,etime,args | grep $1 |grep -v grep |grep -v /usr/bin/mycommand/proctime
